// pages/my/my.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    bannerUrls: [ //轮播图的图片
      {
        url: 'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fsafe-img.xhscdn.com%2Fbw1%2F1bdbf1de-c757-413f-94c2-704dadfaddb5%3FimageView2%2F2%2Fw%2F1080%2Fformat%2Fjpg&refer=http%3A%2F%2Fsafe-img.xhscdn.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1678588935&t=923308336fe13a95ba6bca235d12af4b',
        linkUrl: ''
      },
      {
        url: 'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fsafe-img.xhscdn.com%2Fbw1%2F10b10c71-5611-4daa-9ee3-ea7730d8fba0%3FimageView2%2F2%2Fw%2F1080%2Fformat%2Fjpg&refer=http%3A%2F%2Fsafe-img.xhscdn.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1678588935&t=b8a9e5ec50ca17b6dfc93a9d0390b15b',
        linkUrl: ''
      },
      {
        url: 'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fsafe-img.xhscdn.com%2Fbw1%2Fd8c7457c-bae0-45a5-9c89-293d25e921be%3FimageView2%2F2%2Fw%2F1080%2Fformat%2Fjpg&refer=http%3A%2F%2Fsafe-img.xhscdn.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1678588935&t=6f516c229ab072227ad64f7fbf5112af',
        linkUrl: ''
      }
    ],
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady() {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow() {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide() {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload() {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh() {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom() {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage() {

  },
  /**
   * 跳转我的订单列表
   */
  gotoOrderList() {
    wx.navigateTo({
      url: '/pages/myOrder/myOrder',
    })
  },

  //跳转咖啡钱包
  gotoWallet() {
    wx.navigateTo({
      url: '/pages/walletTopUp/walletTopUp',
    })
  },
  //跳转优惠券
  gotoMyCoupons() {
    wx.navigateTo({
      url: '/pages/myCoupons/MyCoupons',
    })
  },
  //跳转账号余额
  gotoMyBalance() {
    wx.navigateTo({
      url: '/pages/myBalance/myBalance',
    })
  },
})